package edu.gatech.oad.antlab.person;
/**
 * Create a profession class so that it will know if the player is farmer, carpenter or banker. 
 * @author Haritha
 *
 */
public class Profession {
	private int salary; 
	private String profName; 
	//The constructor knows the name of the profession and hence it takes it in as a parameter. 
	public Profession(String profName){
		this.profName = profName; 
	}
	/**
	 * Create a getter for the salary of the profession 
	 * @return
	 */
	public int getSalary() {
		return salary;
	}
	/**
	 * Create a setter for the salary of the profession 
	 * @param salary
	 */
	public void setSalary(int salary) {
		this.salary = salary;
	}
	/**
	 * Create a getter for the name of the profession 
	 * @return profName
	 */
	public String getProfName() {
		return profName;
	}
	/**
	 * Create a setter for the name of the profession 
	 * @param profName
	 */
	public void setProfName(String profName) {
		this.profName = profName;
	}
	

}
